import request from '@/utils/request.js'

// 获取工单列表
export function getWorkOrder(data) {
  return request({
    url: '/author/applet/appletAuthorRest/getWorkOrder',
    method: 'GET',
    data: data
  })
}

// 工单状态下拉
export function getWorkOrderStatus(data) {
  return request({
    url: '/author/applet/appletAuthorRest/getWorkOrderStatus',
    method: 'GET',
    data: data
  })
}

// 详情
export function getWorkOrderDetail(data) {
  return request({
    url: '/author/applet/appletAuthorRest/getWorkOrderDetail',
    method: 'GET',
    data: data
  })
}